package com.cause.entiy.user;

public class Menus {
    private Integer mid;

    private String mname;

    private Integer mzt;

    private String murl;

    private Integer mtarget;

    private String micon;

    private Integer mdesc;

    private String mbz;

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public Integer getMzt() {
        return mzt;
    }

    public void setMzt(Integer mzt) {
        this.mzt = mzt;
    }

    public String getMurl() {
        return murl;
    }

    public void setMurl(String murl) {
        this.murl = murl;
    }

    public Integer getMtarget() {
        return mtarget;
    }

    public void setMtarget(Integer mtarget) {
        this.mtarget = mtarget;
    }

    public String getMicon() {
        return micon;
    }

    public void setMicon(String micon) {
        this.micon = micon;
    }

    public Integer getMdesc() {
        return mdesc;
    }

    public void setMdesc(Integer mdesc) {
        this.mdesc = mdesc;
    }

    public String getMbz() {
        return mbz;
    }

    public void setMbz(String mbz) {
        this.mbz = mbz;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Menus other = (Menus) that;
        return (this.getMid() == null ? other.getMid() == null : this.getMid().equals(other.getMid()))
            && (this.getMname() == null ? other.getMname() == null : this.getMname().equals(other.getMname()))
            && (this.getMzt() == null ? other.getMzt() == null : this.getMzt().equals(other.getMzt()))
            && (this.getMurl() == null ? other.getMurl() == null : this.getMurl().equals(other.getMurl()))
            && (this.getMtarget() == null ? other.getMtarget() == null : this.getMtarget().equals(other.getMtarget()))
            && (this.getMicon() == null ? other.getMicon() == null : this.getMicon().equals(other.getMicon()))
            && (this.getMdesc() == null ? other.getMdesc() == null : this.getMdesc().equals(other.getMdesc()))
            && (this.getMbz() == null ? other.getMbz() == null : this.getMbz().equals(other.getMbz()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMid() == null) ? 0 : getMid().hashCode());
        result = prime * result + ((getMname() == null) ? 0 : getMname().hashCode());
        result = prime * result + ((getMzt() == null) ? 0 : getMzt().hashCode());
        result = prime * result + ((getMurl() == null) ? 0 : getMurl().hashCode());
        result = prime * result + ((getMtarget() == null) ? 0 : getMtarget().hashCode());
        result = prime * result + ((getMicon() == null) ? 0 : getMicon().hashCode());
        result = prime * result + ((getMdesc() == null) ? 0 : getMdesc().hashCode());
        result = prime * result + ((getMbz() == null) ? 0 : getMbz().hashCode());
        return result;
    }
}